package com.example.task.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

/**
 * @author sunny
 * @desc 用户表
 */
@Data
@TableName("sys_user")
public class User {
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @TableField("user_name")
    private String name;

}
